Skip to content

Fix JaCoCo for Contest Estimator #2373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 17, 2023
Merged

Conversation

Markoutte
Copy link
Collaborator

Description

Contest Estimator's module was not able to generate JaCoCo reports due to obsolete gradle.build settings. Also, fuzzer now can generate objects using reflection or mocks to cover cases where only interfaces or abstract classes are expected.

How to test

Manual tests

  1. Configure and run Contest Estimator class.
  2. After it finishes run task gradle :utbot-junit-contest:test
  3. You can find reports in a folder build/reports

NB! If there's several projects with different versions like guava, then report works only for the first one, because all these libraries are loaded by tests. You can manually remove unnecessary folders.

Self-check list

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@Markoutte Markoutte added comp-fuzzing Issue is related to the fuzzing comp-contest-estimator Issue is related to contest estimator ctg-bug-fix PR is fixing a bug labels Jul 6, 2023
Copy link
Member

@CaelmBleidd CaelmBleidd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Markoutte Markoutte force-pushed the pelevin/reflexive_value_provider branch from d652527 to 5c82da0 Compare July 17, 2023 08:12
@Markoutte Markoutte merged commit 19fc16c into main Jul 17, 2023
@Markoutte Markoutte deleted the pelevin/reflexive_value_provider branch July 17, 2023 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-contest-estimator Issue is related to contest estimator comp-fuzzing Issue is related to the fuzzing ctg-bug-fix PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants